package cn.wolfcode.ssm.mapper;

import cn.wolfcode.ssm.domain.Department;
import java.util.List;

public interface DepartmentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();


    int updateByPrimaryKey(Department record);

    Department selectByName(String deptName);

}